package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 通信通道类型枚举
 *
 * @author QuCheng Tech
 * @since 2024/1/24
 */
@Getter
@AllArgsConstructor
public enum CommunicationChannelTypeEnum {
    UN_DEFINE(0, "未定义"),
    NET_TCP(10, "网络TCP"),
    NET_UDP(11, "网络UDP"),
    SMS(20, "短信"),
    LINE_RS232(30, "RS232"),
    LINE_RS485(31, "RS485");

    @EnumValue
    private int index;
    private String name;
}
